module pl0.main;

//****************************************************************************
//*    This module is the main module. It gets user input through the cli    *
//*           and puts the other modules together, sort of, kinda.           *
//****************************************************************************

//****************************************************************************
//*                      to use these press alt+shift+b                      *
//****************************************************************************

import std.stdio;
import pegged.grammar;
import pl0.grammar;

/**
 * this is the main file okay??
 */
void main()
{
	ParseTree myTree = parse();
	writeln(myTree.begin, "---", myTree.end);

	writeln(myTree.children[0].name);

	writeln(myTree);

	writeln("it worked yeah yeah yeahhh!!! it WORKED!!");

	writeln("okkkay we're DOING THIS OKAY YEAHHHH!!!");

	throw new Exception("oh no something went really really really bad like this is NOT supposed to happen EVER");


}
